Component({

  properties: {
        shopbag: Object,
        params: Object,
        hprice : Number,
        agentprice : Number,
    },

    data: {
        current : 0,
    },
    options : {
        addGlobalClass : true,
    },
    methods: {
        bindchange(e) {
            this.setData({
                current : e.detail.current
            })
            this.triggerEvent('changeCurrent',e.detail.current);
        },
    }

})